package com.acerola.yuan_back.controller;

import com.acerola.yuan_back.common.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: yuan_back
 * @description: 测试类
 * @author: Acerola
 * @create: 2022-10-08 16:37
 **/
@Api(tags = "测试类")
@CrossOrigin
@RestController
@RequestMapping("/test")
public class Test {
    @RequestMapping("/hello")
    public Result test1() {
        return new Result().success("jenkins自动化成功");
    }
}
